package ctgu.yao.cloud.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ctgu.yao.cloud.dto.PageDTO;
import ctgu.yao.cloud.dto.ResultDTO;
import ctgu.yao.cloud.form.AdminForm;
import ctgu.yao.cloud.form.RuleForm;
import ctgu.yao.cloud.po.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Y
 * @since 2022-08-16
 */
public interface AdminService extends IService<Admin> {
    //登录
    public ResultDTO login(RuleForm ruleForm);

    public PageDTO list(Integer page, Integer size,Integer mid);
    public PageDTO search(AdminForm adminForm);
    public ResultDTO ComDelete(Integer cuid);
}
